package com.example.cinemaorder.service;

import com.example.cinemaorder.entity.SysBill;
import com.example.cinemaorder.entity.vo.SearchMovieVo;
import com.example.cinemaorder.entity.vo.SysBillVo;

/**
 * @author 高垚淼
 * @version 1.0
 */
public interface SysBillService {
    void insertBill(SysBill sysBill);

    SysBill getBillById(Long billId);

    SearchMovieVo getSessionById(Long sessionId);

    SearchMovieVo getCinemaInfo(Long id);

    Object movieName(Long id);

    SysBill bill(Long id);

    SysBill getBillBySeats(String seats);

    Object cancelBill(SysBillVo sysBillVo);

    void payBill(SysBill sysBill);

    //  清除超时未支付的无效订单
    void clearInvalidOrder();
}
